# -*- coding: utf-8 -*-
# @File     : permissions.py
# @Author   : bingjia
# @Time     : 2020/8/4 13:27
# @Desc     : auth认证模块权限

from ..base.api.permissions import AllowAny
from ..base.api.permissions import IsSuperUser
from ..base.api.permissions import BasePermission


class AuthPermission(BasePermission):
    """
    登陆注册权限
    """
    enough_perms = IsSuperUser()

    login_perms = AllowAny()
    register_perms = AllowAny()

